<?php
if(!$functions){
    $functions = array();
}

//Helper Functions Tests
$functions[] = 'TestFunc_callFQL';
$functions[] = 'TestFunc_callGraphAPI';
$functions[] = 'TestFunc_callMultiFQL';

/**************************************
 * Data Fetching Functions Tests
 ***************************************/

//Message Functions
$functions[] = 'TestFunc_getMessage';

//Post Functions
//    Friend Post
$functions[] = 'TestFunc_getFriendPost';
//    My Post (*tricky*)
$functions[] = 'TestFunc_getMyPost';

//Comment Functions
//    Friend Comment
//        On Status
$functions[] = 'TestFunc_getFriendCommentOnStatus';
//        On Link
$functions[] = 'TestFunc_getFriendCommentOnLink';
//        On Note
$functions[] = 'TestFunc_getFriendCommentOnNote';
//        On Photo
$functions[] = 'TestFunc_getFriendCommentOnPhoto';

//    My Comment
//        On Status
$functions[] = 'TestFunc_getMyCommentOnStatus';
//        On Link
$functions[] = 'TestFunc_getMyCommentOnLink';
//        On Note
$functions[] = 'TestFunc_getMyCommentOnNote';
//        On Photo
$functions[] = 'TestFunc_getMyCommentOnPhoto';

//Like Functions
//    Friend Like
//        On Status
$functions[] = 'TestFunc_getFriendLikeOnStatus';
//        On Link
$functions[] = 'TestFunc_getFriendLikeOnLink';
//        On Note
$functions[] = 'TestFunc_getFriendLikeOnNote';
//        On Photo
$functions[] = 'TestFunc_getFriendLikeOnPhoto';

//    My Like
//        On Status
$functions[] = 'TestFunc_getMyLikeOnStatus';
//        On Link
$functions[] = 'TestFunc_getMyLikeOnLink';
//        On Note
$functions[] = 'TestFunc_getMyLikeOnNote';
//        On Photo
$functions[] = 'TestFunc_getMyLikeOnPhoto';

/***********************************
 * Data Processing Functions Test  *
 ***********************************/

//Message Processing Functions
$functions[] = 'TestFunc_processMessage';

//Post Processing Functions
//    Friend Post
$functions[] = 'TestFunc_processFriendPost';
//    My Post
$functions[] = 'TestFunc_processMyPost';

//Comment Processing Functions
//    Friend Comment
//        On Status
//        On Link
//        On Note
//        On Photo
//    My Comment
//        On Status
//        On Link
//        On Note
//        On Photo

//Like Processing Functions
//    Friend Like
//        On Status
//        On Link
//        On Note
//        On Photo
//    My Like
//        On Status
//        On Link
//        On Note
//        On Photo

/**********************************
 * Friendship Page Functions      *
 **********************************/

//Fetching Intercommunications Functions
//Message Fetching Functions
//Post Fetching Functions
//Comment Fetching Functions (include context information)
//Like Fetching Functions (include context information)

//INCLUDE FUNCTION FILES
foreach($functions as $function){
    require_once($function.'.php');
}
?>